package com.example.demo;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
public class User {
    @RequestMapping("/hello")
    public String Hello() {
        return "hello,word";
    }
    @RequestMapping("/bye")
    public String bye() {
        return "bye";
    }
}
